package tech.aistar.entity;

        import java.io.Serializable;

public class User implements Serializable {

    private Integer id;

    private String username;

    private String password;

    private Integer status;

    /**
     * 权限
     */
    private Integer power;

    private static final long serialVersionUID = 1L;

    public User() {
    }

    public User(Integer id, String username, String password, Integer status, Integer power) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.status = status;
        this.power = power;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getPower() {
        return power;
    }

    public void setPower(Integer power) {
        this.power = power;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("User{");
        sb.append("id=").append(id);
        sb.append(", username='").append(username).append('\'');
        sb.append(", password='").append(password).append('\'');
        sb.append(", status=").append(status);
        sb.append(", power=").append(power);
        sb.append('}');
        return sb.toString();
    }
}